﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace NetDisk.Models
{
    [Table("upload_files")]
    public class UploadFile
    {
        [Column("id")]
        public int Id { get; set; }

        [Column("file_name")]
        public string FileName { get; set; }

        [Column("real_name")]
        public string RealName { get; set; }

        [Column("is_dir")]
        public bool IsDir { get; set; }

        [Column("parent_id")]
        public int? ParentId { get; set; }

        [Column("created_at")]
        public long? CreatedAt { get; set; }

        [Column("updated_at")]
        public long? UpdatedAt { get; set; }
    }
}
